package com.tbit.main.pojo;

/**
 * @author LMY
 * @create 2021-09-03 17:05
 * 未完成的工单详情
 */
public class WorkOrderFinish {

    /**
     * 工单
     */
    private WorkOrderFinishing workOrderFinishing;

    /**
     * 车辆状态
     */
    private MachineStatus machineStatus;

    /**
     * 故障车辆
     */
    private MachineFault machineFault;

    public WorkOrderFinishing getWorkOrderFinishing() {
        return workOrderFinishing;
    }

    public void setWorkOrderFinishing(WorkOrderFinishing workOrderFinishing) {
        this.workOrderFinishing = workOrderFinishing;
    }

    public MachineStatus getMachineStatus() {
        return machineStatus;
    }

    public void setMachineStatus(MachineStatus machineStatus) {
        this.machineStatus = machineStatus;
    }

    public MachineFault getMachineFault() {
        return machineFault;
    }

    public void setMachineFault(MachineFault machineFault) {
        this.machineFault = machineFault;
    }

    @Override
    public String toString() {
        return "WorkOrderFinish{" +
                "workOrderFinishing=" + workOrderFinishing +
                ", machineStatus=" + machineStatus +
                ", machineFault=" + machineFault +
                '}';
    }

    public WorkOrderFinish() {
    }

    public WorkOrderFinish(WorkOrderFinishing workOrderFinishing, MachineStatus machineStatus, MachineFault machineFault) {
        this.workOrderFinishing = workOrderFinishing;
        this.machineStatus = machineStatus;
        this.machineFault = machineFault;
    }
}
